﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/PBOAMasterPage.master" AutoEventWireup="true" CodeFile="addEmployee.aspx.cs" Inherits="PersonnelManagementPage_addEmployee" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
	<script language="javascript" type="text/jscript" src="../My97DatePicker/My97DatePicker/WdatePicker.js"></script>
	<link type="text/css" rel="Stylesheet" href="../css/HR.css" />
	<title>创建员工</title>
	<style type="text/css">
		.style1 { width: 100px; height: 40px; text-align: right; }
		.style2 { width: 180px; height: 40px; }
		.style3 { width: 20px; height: 40px; }
		.style4 { width: 80px; height: 40px; }
		.style5 { width: 210px; }
	</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<uc:Navigator ID="EmployeeManageTitle" Text="创建员工" runat="server" />
	<div id="Main">
		<div id="AddUser">
			<div class="AddUser">
				<table>
					<tr>
						<td><a style="position: relative; top: -10px; left: 10px; background-color: #F3FAFE;">基础信息</a></td>
					</tr>
					<tr>
						<td class="style1">姓名：</td>
						<td class="style2">
							<asp:TextBox ID="txtUserName" runat="server"></asp:TextBox></td>
						<td class="style3"></td>
						<td class="style4">照片：</td>
						<td class="style5">
							<asp:FileUpload ID="fulImage" runat="server" /></td>
					</tr>
					<tr>
						<td class="style1">员工编号：</td>
						<td class="style2">
							<asp:TextBox ID="txtUserNo" runat="server"></asp:TextBox></td>
						<td class="style3"></td>
						<td class="style4"></td>
						<td rowspan="5" style="text-align: left;">
							<asp:Image ID="imgUser" runat="server" Height="170px" Width="170px" />
						</td>
					</tr>
					<tr>
						<td class="style1">性别：</td>
						<td class="style2">
							<asp:RadioButtonList ID="rbtnlGender" runat="server"
								RepeatDirection="Horizontal">
								<asp:ListItem Text="男" Value="True" Selected="True"></asp:ListItem>
								<asp:ListItem Text="女" Value="False"></asp:ListItem>
							</asp:RadioButtonList></td>
					</tr>
					<tr>
						<td class="style1">部门：
						</td>
						<td class="style2">
							<uc:DepartmentSelector ID="txtDepId" runat="server" />
							<%--<asp:TextBox ID="txtDepId" runat="server"></asp:TextBox>
                   <asp:HiddenField ID="hfDepId" runat="server" />--%>
							<div class="tree_container" id="divTree" runat="server" style="display: none">
								<asp:TreeView ID="tvDepId" runat="server" ImageSet="Simple" OnSelectedNodeChanged="tvDepId_SelectedNodeChanged">
									<ParentNodeStyle Font-Bold="False" />
									<HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
									<SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
										VerticalPadding="0px" />
									<NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="0px"
										NodeSpacing="0px" VerticalPadding="0px" />
								</asp:TreeView>
							</div>
						</td>
					</tr>
					<tr>
						<td class="style1">岗位：</td>
						<td class="style2">
							<asp:DropDownList ID="ddlPositionId" runat="server" Width="136px">
							</asp:DropDownList>
						</td>
					</tr>
					<tr>
						<td class="style1">直接上级：</td>
						<td class="style2">
							<asp:DropDownList ID="ddlLeader" runat="server" Width="136px">
							</asp:DropDownList>
						</td>
						<td colspan="2">
							<asp:TextBox ID="txtUserLeader" runat="server" Width="100px"></asp:TextBox>
						</td>
					</tr>
				</table>
			</div>
			<div class="AddUser">
				<table>
					<tr>
						<td><a style="position: relative; top: -10px; left: 10px; background-color: #F3FAFE;">扩展信息</a></td>
					</tr>
					<tr>
						<td class="style1">教育程度：</td>
						<td class="style2">
							<asp:DropDownList ID="ddlDergee" runat="server" Width="136px">
							</asp:DropDownList>
						</td>
						<td class="style3"></td>
						<td class="style4">工作履历:</td>
						<td rowspan="3" class="style5">
							<asp:TextBox ID="txtExperience" runat="server" TextMode="MultiLine"
								Height="120px" Width="180px"></asp:TextBox></td>
					</tr>
					<tr>
						<td class="style1">入职日期：</td>
						<td class="style2">
							<asp:TextBox class="Wdate" ID="txtEntryTime" type="text" runat="server" onfocus="WdatePicker()" />
						</td>
					</tr>
					<tr>
						<td class="style1">出生日期：</td>
						<td class="style2">
							<asp:TextBox class="Wdate" ID="txtBirthday" type="text" runat="server" onfocus="WdatePicker()" />
						</td>
					</tr>
				</table>
			</div>
			<div class="AddUser">
				<table>
					<tr>
						<td><a style="position: relative; top: -10px; left: 10px; background-color: #F3FAFE;">通讯录</a></td>
					</tr>
					<tr>
						<td class="style1">座机：</td>
						<td class="style2">
							<asp:TextBox ID="txtLandLine" runat="server"></asp:TextBox></td>
						<td class="style3"></td>
						<td class="style4">手机：</td>
						<td class="style5">
							<asp:TextBox ID="txtMobile" runat="server" Style="margin-left: 1px"></asp:TextBox></td>
					</tr>
					<tr>
						<td class="style1">联系地址：</td>
						<td class="style2">
							<asp:TextBox ID="txtAddr" runat="server"></asp:TextBox></td>
						<td class="style3"></td>
						<td class="style4">邮编：</td>
						<td class="style5">
							<asp:TextBox ID="txtPostCode" runat="server"></asp:TextBox></td>
					</tr>
					<tr>
						<td class="style1">Email：</td>
						<td class="style2">
							<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td>
					</tr>
				</table>
			</div>
			<div id="Button">
				<asp:Button ID="btnOk" runat="server" Text="提交" CssClass="ButtonImage"
					OnClick="btnOk_Click" />
				<asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="ButtonRight"
					OnClick="btnCancel_Click" />
			</div>
		</div>
	</div>
</asp:Content>

